import request from '@/utils/request'
export function getAgentList(data) {
  return request({
    url: '/agent/manage/list',
    method: 'post',
    data
  })
}
export function getAgentLi(data) {
  return request({
    url: '/agent/manage/li',
    method: 'post',
    data
  })
}

export function agentAdd(data) {
  return request({
    url: '/agent/manage/add',
    method: 'post',
    data
  })
}

export function agentFind(data) {
  return request({
    url: '/agent/manage/find',
    method: 'post',
    data
  })
}

export function agentUpdate(data) {
  return request({
    url: '/agent/manage/update',
    method: 'post',
    data
  })
}

export function agentStatus(data) {
  return request({
    url: '/agent/manage/status',
    method: 'post',
    data
  })
}
export function resetPassword(data) {
  return request({
    url: '/agent/manage/reset/password',
    method: 'post',
    data
  })
}
export function getAllTree(data) {
  return request({
    url: '/agent/manage/all/tree',
    method: 'post',
    data
  })
}

export function getDownloadList(data) {
  return request({
    url: '/agent/manage/download/list',
    method: 'post',
    data
  })
}

